<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>angularJS-demo3-初始化指令</title>
		<script src="angular.min.js"></script>
	</head>
	<!-- 
	  初始化指令:ng-init
	 -->
	<body ng-app ng-init="name='王大锤'">
		<input ng-model="name" />
		
		{{name}}
	</body>
</html>
